{$btn[$myRole]}
<!--买家-->
{if myorder_tjbtn($order,'confirm','buy')}<!--确认收货-->
<input class='layui-btn layui-btn-danger order_handle' type='button' value='确认收货' data='confirm'>{/if}

{if myorder_tjbtn($order,'afresh_confirm','buy')}<!--取消退款-->
<input class='layui-btn layui-btn-danger order_handle' type='button' value='确认收货（取消退款）' data='afresh_confirm'>{/if}

{if myorder_tjbtn($order,'apply_back','buy')}<!--申请退款-->
<input class='layui-btn layui-btn-primary order_handle' type='button' value='申请退款' data='apply_back'>{/if}

{if myorder_tjbtn($order,'apply_back_bc','buy')}<!--补充退款原因-->
<input class='layui-btn layui-btn-primary order_handle' type='button' value='补充退款原因' data='apply_back'>{/if}

{if myorder_tjbtn($order,'delay','buy')}<!--延长担保时间-->
<input class='layui-btn layui-btn-primary order_handle' type='button' value='延长担保时间' data='delay'>{/if}

{if myorder_tjbtn($order,'waiverk','buy')}<!--消保免赔-->
<input class='layui-btn layui-btn-primary order_handle' type='button' value='消保免赔' data='waiver'>{/if}

{if myorder_tjbtn($order,'cancel_waiver','buy')}<!--恢复消保赔付-->
<input class='layui-btn layui-btn-primary order_handle' type='button' value='恢复消保赔付' data='cancel_waiver'>{/if}

{if myorder_tjbtn($order,'service','buy')}<!--申请客服介入-->
<button class="layui-btn layui-btn-primary order_handle" data="service"><i class="layui-icon"></i> 申请客服介入</button>{/if}

<!--卖家-->
{if myorder_tjbtn($order,'active_back','sell')}<!--主动退款-->
<input class='layui-btn layui-btn-primary order_handle' type='button' value='主动退款' data='active_back'>{/if}

{if myorder_tjbtn($order,'agree_back','sell')}<!--同意退款-->
<input class='layui-btn layui-btn-danger order_handle' type='button'  value='同意退款'  data='agree_back'>{/if}

{if myorder_tjbtn($order,'refuse_back','sell')}<!--拒绝退款-->
<input class='layui-btn layui-btn-primary order_handle' type='button'  value='拒绝退款' data='refuse_back'>{/if}

{if myorder_tjbtn($order,'afresh_agree_back','sell')}<!--重新处理退款-->
<input class='layui-btn layui-btn-danger order_handle' type='button'  value='重新处理退款（同意退款）'  data='afresh_agree_back'>{/if}

{if myorder_tjbtn($order,'refuse_back_back','sell')}<!--补充拒绝原因-->
<input class='layui-btn layui-btn-primary order_handle' type='button' value='补充拒绝原因' data='refuse_back'>{/if}


<!--公共区-->
{if myorder_tjbtn($order,'add')}<!--发起追加-->
<input class='layui-btn layui-btn-primary append_handle append_click' type='button' value='发起追加' data='add'>{/if}

{if myorder_tjbtn($order,'evaluation')}<!--交易评价-->
<input class='layui-btn layui-btn-primary' type='button' value='交易评价' onclick="location.href='/member/evaluation/{$ddbh}'">{/if}

{if myorder_tjbtn($order,'oshare')}<!--订单分享-->
<input class='layui-btn layui-btn-primary order_handle' type='button' value='订单分享' data='oshare'>{/if}

{if myorder_tjbtn($order,'back_history')}<!--历史退款记录-->
<button class='layui-btn layui-btn-primary order_handle' data='back_history' w='1000'><i class='layui-icon'>&#xe615;</i> 查看退款历史记录</button>{/if}